package com.greate.shiro.springbootshirodemo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.greate.shiro.springbootshirodemo.entity.SystemRolePermission;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author zs
 * @since 2020-07-28
 */
public interface SystemRolePermissionService extends IService<SystemRolePermission> {

	/**
	 * 查询的角色的id
	 *
	 * @param roleIds 角色id
	 * @return 结果
	 */
	List<Integer> getPermissionIdByRolesId(List<Integer> roleIds);

}
